/// bedId : 3653
/// bedNo : "A"
/// customerElderId : 8963
/// elderName : "收款单"
/// finishRatio : null
/// finishTaskCount : null
/// nurseLevel : "二级护理"
/// nurseLevelId : 316
/// overduTaskCount : null
/// serviceAreaId : null
/// taskCount : null
/// waitTaskCount : 2

class ServiceExecuteOldData {
  ServiceExecuteOldData({
    num? bedId,
    String? bedNo,
    num? customerElderId,
    String? elderName,
    dynamic finishRatio,
    dynamic finishTaskCount,
    String? nurseLevel,
    num? nurseLevelId,
    dynamic overduTaskCount,
    dynamic serviceAreaId,
    dynamic taskCount,
    num? waitTaskCount,
  }) {
    _bedId = bedId;
    _bedNo = bedNo;
    _customerElderId = customerElderId;
    _elderName = elderName;
    _finishRatio = finishRatio;
    _finishTaskCount = finishTaskCount;
    _nurseLevel = nurseLevel;
    _nurseLevelId = nurseLevelId;
    _overduTaskCount = overduTaskCount;
    _serviceAreaId = serviceAreaId;
    _taskCount = taskCount;
    _waitTaskCount = waitTaskCount;
  }

  ServiceExecuteOldData.fromJson(dynamic json) {
    _bedId = json['bedId'];
    _bedNo = json['bedNo'];
    _customerElderId = json['customerElderId'];
    _elderName = json['elderName'];
    _finishRatio = json['finishRatio'];
    _finishTaskCount = json['finishTaskCount'];
    _nurseLevel = json['nurseLevel'];
    _nurseLevelId = json['nurseLevelId'];
    _overduTaskCount = json['overduTaskCount'];
    _serviceAreaId = json['serviceAreaId'];
    _taskCount = json['taskCount'];
    _waitTaskCount = json['waitTaskCount'];
  }

  num? _bedId;
  String? _bedNo;
  num? _customerElderId;
  String? _elderName;
  dynamic _finishRatio;
  dynamic _finishTaskCount;
  String? _nurseLevel;
  num? _nurseLevelId;
  dynamic _overduTaskCount;
  dynamic _serviceAreaId;
  dynamic _taskCount;
  num? _waitTaskCount;

  num? get bedId => _bedId;

  String? get bedNo => _bedNo;

  num? get customerElderId => _customerElderId;

  String? get elderName => _elderName;

  dynamic get finishRatio => _finishRatio;

  dynamic get finishTaskCount => _finishTaskCount;

  String? get nurseLevel => _nurseLevel;

  num? get nurseLevelId => _nurseLevelId;

  dynamic get overduTaskCount => _overduTaskCount;

  dynamic get serviceAreaId => _serviceAreaId;

  dynamic get taskCount => _taskCount;

  num? get waitTaskCount => _waitTaskCount;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['bedId'] = _bedId;
    map['bedNo'] = _bedNo;
    map['customerElderId'] = _customerElderId;
    map['elderName'] = _elderName;
    map['finishRatio'] = _finishRatio;
    map['finishTaskCount'] = _finishTaskCount;
    map['nurseLevel'] = _nurseLevel;
    map['nurseLevelId'] = _nurseLevelId;
    map['overduTaskCount'] = _overduTaskCount;
    map['serviceAreaId'] = _serviceAreaId;
    map['taskCount'] = _taskCount;
    map['waitTaskCount'] = _waitTaskCount;
    return map;
  }
}
